package cn.swust.designpatternlearningplatform.dao;

import cn.swust.designpatternlearningplatform.domain.dto.StudentProblemSolvingSituationDto;
import cn.swust.designpatternlearningplatform.domain.entity.TestPaperTopicContent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TestPaperExportDao {
    /**
     * 查询学生做题记录
     *
     * @param paperNumber
     * @param classNumberList
     * @return java.util.List<cn.swust.designpatternlearningplatform.domain.dto.StudentProblemSolvingSituationDto>
     * @author Tang
     * @date 2023/10/15 16:46
     **/
    List<StudentProblemSolvingSituationDto> selectStudentTestSituation(@Param("paperNumber") String paperNumber, @Param("classNumberList") List<String> classNumberList);

    /**
     * 根据试卷编号查询试卷详情信息（试卷编号，题目id列表，总分）
     *
     * @param paperNumber
     * @return cn.swust.designpatternlearningplatform.domain.entity.TestPaperTopicContent
     * @author Tang
     * @date 2023/10/16 23:13
     **/
    TestPaperTopicContent selectTestPaperTopicContent(@Param("paperNumber") String paperNumber);
}
